An Australian medical student says she and her mother were forced to leave a beach on the French Riviera after locals took exception to their burkinis.