Methods of inhibiting bacterial virulence and compounds relating thereto